<%@page import="com.baoyanghui.common.Constants"%>
<%@page import="com.baoyanghui.config.Configs"%>
<%@page import="com.baoyanghui.common.Utils"%>
<%@page import="com.baoyanghui.common.InterfaceAccess"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	if (Utils.empty((String)request.getSession().getAttribute(Configs.SESSION_USER_ID))
			|| (Constants.USER_TYPE_CUSTOMER == (Integer)request.getSession().getAttribute(Configs.SESSION_USER_TYPE))) {
		response.getWriter().print("<script type='text/javascript'>\n");
		response.getWriter().print("window.location.href='" + request.getContextPath() + "/index.jsp';\n");
		response.getWriter().print("</script>\n");
		response.getWriter().flush();
		return;
	}
%>
<script type="text/javascript" src="../js/maintain_history_list.js"></script>
<div style="border-bottom: 1px #999999 solid; padding-top: 10px;">
	<img class="pointer fade_effect" src="<%= request.getContextPath() %>/image/menu_user_info_off.png" 
		style="margin-left: 18px; float: left;" onclick="showUserInfo(selectedCusutomerIndex, customerDetailReferer);"/>
	<img src="<%= request.getContextPath() %>/image/menu_maintain_info.png" style="float: left;"/>
	<div style="clear: both;"></div>
</div>
<div style="margin-left: 15px; padding-top: 20px;">
	<div>
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_maintain_date.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_mileage.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_license.png" alt="" />
		<img class="col_title" src="<%= request.getContextPath() %>/image/col_maintain_status.png" alt="" />
		<div style="clear: both;"></div>
	</div>
	<div id="div_maintain_history_list">
	</div>
	<div align="center" style="margin-top: 50px; padding-bottom: 75px;">
		<img class="pointer fade_effect" alt="" src="../image/btn_add_maintain_order.png" style="margin-left: 40px;" onclick="showAddMaintainOrder();">
		<img class="pointer fade_effect" alt="" src="../image/btn_back.png" style="margin-left: 40px;" onclick="showUserInfo(selectedCusutomerIndex);">
	</div>
</div>